/**
 * @author MIAO
 * Created on 2011-10-19
 * For more information, please visit:ismiao.com
 */
package com.ismiao.designPattern.Factory.AbstractFactory;

public class TestAbstractFactory {
	public static void main(String[] arg){
		AbstractFactory abstractFactory = new BlackSmallCarFactory();
		abstractFactory.produceCar().drive();
		abstractFactory.plantCar().paint();
	}
}
